<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-color: #279ed9;
        }
    div{
        font-size: 0px;
        width: 900px;
        height: 500px;
        background-color: #14da1e;
        margin: 100px auto;
    }
    img{
        width: 300px;
        height: 500px;
        transition: 3s;
    }
    div:hover img{
        width: 100px;
    }
    img:hover{
        width: 700px !important;
    }
    </style>
</head>
<body>
    <div>
        <img src="1.jpg" alt="">
        <img src="2.jpg" alt="">
        <img src="3.jpg" alt="">
    </div>
   
</body>
</html>